'use strict'

const {Sequelize} = require('sequelize')

const sequelize = new Sequelize('test_demo01','postgres','123456',{
    "host":"zbmwd.top",
    "dialect":"postgres"
})

// 测试
// sequelize.authenticate().then(()=>{
//     console.log('连接成功!');
// }).catch((err)=>{
//     console.log("连接失败！");
//     console.log(err);
// })


module.exports = sequelize